<template>
  <div class="about">
    <div class="but" @click="tiaozhuan">返回首页</div>
    <h1>大屏可视化</h1>
    <div id="main"></div>
  </div>
</template>

<script setup lang="ts">
import * as echarts from 'echarts'
import { useRouter } from 'vue-router';

const router = useRouter()
const tiaozhuan = () => {
  router.push('/')
}
</script>

<style scoped lang="scss">
.about{
  width: 100vw;
  height: 100vh;
  background-color: rgb(132, 114, 114);
  h1{
    text-align: center;
  }
}
.but{
  width: 100px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  background-color: rgba(255,265,335, 0.5);
}
</style>